Component({
  properties: {
    innerCancel: {
      type: String,
      value: '取消',
    },
    okConfirm:{
      type: String,
      value: '确定',
    },
    textConfirm:{
      type: String,
      value: '请确认',
    },
    titleConfirm: {
      type: String,
      value: '请确认',
    }
  },
  data: {
    show: false,
  },
  methods: {
    chengShow(){
      this.setData({
        show: !this.data.show
      })
    },
    confirm () {
      this.chengShow()
      this.triggerEvent('parentEvent',{})
     }
  }
})